package com.wolan.dao;

import com.wolan.entity.User;

import java.util.List;

/**
 * Created by fei.chen on 2016/3/18.
 */
public interface IUserDao {

    /**
     * 新增
     * <br>------------------------------<br>
     * @param user
     * @return
     */
    boolean add(User user);

    /**
     * 通过key获取
     * <br>------------------------------<br>
     * @param keyId
     * @return
     */
    User get(String keyId);
}
